<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
      
    <meta charset="UTF-8">
      <title>hello</title>
</head>
<body>
    <table border="1px">
        <tr>
            <th>姓名</th>
        </tr>
        <tr th:each="user : ${userList}">
            <td th:text="${user.toString()}"></td>
        </tr>
    </table>
</body>
</html>